const adminRouter = require('./admin')
const commonRouter = require('./common')

const RouterInit = (app) => {
  app.use(adminRouter.routes()).use(adminRouter.allowedMethods())
  app.use(commonRouter.routes()).use(commonRouter.allowedMethods())
}

module.exports = RouterInit